package com.example.datasourcedemo.entity;

import lombok.Data;

public abstract class DemoVo {

    private String userName;

    private String downReaso;

    private String downTime;

    private int money;

    public DemoVo(String userName, String downReaso, String downTime, int money) {
        this.userName = userName;
        this.downReaso = downReaso;
        this.downTime = downTime;
        this.money = money;
    }

    public DemoVo(String userName, String downReaso, String downTime) {
        this.userName = userName;
        this.downReaso = downReaso;
        this.downTime = downTime;
    }

    public DemoVo() {
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getDownReaso() {
        return downReaso;
    }

    public void setDownReaso(String downReaso) {
        this.downReaso = downReaso;
    }

    public String getDownTime() {
        return downTime;
    }

    public void setDownTime(String downTime) {
        this.downTime = downTime;
    }

    @Override
    public String toString() {
        return "DemoVo{" +
                "userName='" + userName + '\'' +
                ", downReaso='" + downReaso + '\'' +
                ", downTime='" + downTime + '\'' +
                ", money=" + money +
                '}';
    }
}
